package com.hsogoo.avatar.transport;

import java.net.SocketAddress;

/**
 * @Author huangsaigang
 * Created @2018/9/30.
 */
public interface AvatarAcceptor extends Transporter {

    public void start() throws InterruptedException;

    public void shutdownGracefully();

    public SocketAddress localAddress();

    public AvatarProcessor processor();

    public void withProcessor(AvatarProcessor processor);

}
